
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8"/>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
  <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
  

  <title>HipHop_&amp;_Coder</title>

  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="喜欢HipHop的程序猿！">
<meta property="og:type" content="website">
<meta property="og:title" content="HipHop_&amp;_Coder">
<meta property="og:url" content="https://blog.hiphopcoder.com/page/4/index.html">
<meta property="og:site_name" content="HipHop_&amp;_Coder">
<meta property="og:description" content="喜欢HipHop的程序猿！">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="卡尔西">
<meta property="article:tag" content="HipHop Coder Keep Real">
<meta name="twitter:card" content="summary">

  
    <meta name="360-site-verification" content="154b1db7aa4054adcca0eec808316233" />
  

  

  
    <meta name="baidu-site-verification" content="code-NHOwvnIS6I" />
  

  
    <meta name="google-site-verification" content="KAG9Vc03AwaKm3-H0H2K0iIMdwaLYcfe894UXtq1vlg" />
  

  
    <meta name="msvalidate.01" content="0436F33009E04F7F714865C31DD11DF9" />
  

  
    <link rel="alternative" href="/atom.xml" title="HipHop_&amp;_Coder" type="application/atom+xml">
  

  
    
      <link rel="icon" href="/img/favicon.ico">
    
  


  
<link rel="stylesheet" href="/css/style.css">

  <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  <!--[if lt IE 9]><script src="//cdn.bootcss.com/html5shiv/r29/html5.min.js"></script><![endif]-->
  <!-- <link href="/vendors/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> -->

  <link href="/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
  <script src="/js/ua-parser.min.js" type="text/javascript"></script>
  <script src="/js/jquery.js" type="text/javascript"></script>
  <script src="/js/jquery.min.js" type="text/javascript"></script>
  <script src="/js/scrollReveal.js" type="text/javascript"></script>
  <script src="https://cdn.bootcss.com/instantsearch.js/1.5.1/instantsearch.js"></script>
  <script src="/js/algolia-search.js" type="text/javascript"></script>
  <script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.js"></script>
  
  
<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-72248942-1', 'auto');
ga('send', 'pageview');

</script>
<!-- End Google Analytics -->





  <!-- Baidu Analytics -->
  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?bf54edd85bbae023e562dcbd0a22ab40";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>



  <!-- 
  
  
  
  
   -->

  <script>
   var CONFIG = {
    root: '/',
    algolia: {
          applicationID: "4AJFFJS839",
          apiKey: "d342c5c503799d1def9a712d03ff9392",
          adminApiKey: "74e0c292b7e47d422e9f101158a82fce",
          indexName: "Hexo_Blog",
          hits: {"per_page":10},
          labels: {"input_placeholder":"搜索...","hits_empty":"未发现与 「${query}」相关的内容","hits_stats":"${hits} 条相关条目，使用了 ${time} 毫秒"}
        }
  };
  </script>

<meta name="generator" content="Hexo 5.4.0"></head>



<body>
<div id="container">
  <div id="wrap">
    <header id="header">

    
        <div id="banner" style="background: url('/img/banner.png') center #000"></div>
        
    <div data-scroll-reveal="enter top" id="header-outer" class="outer">
        <div id="header-title" class="inner">
            <h1 id="logo-wrap">
                <a href="/" id="logo">HipHop_&amp;_Coder</a>
            </h1>
            
                <h2 id="subtitle-wrap">
                    <a href="/" id="subtitle">事在人为，功不唐捐！</a>
                </h2>
            
        </div>
        <div id="header-inner" class="inner">
            <nav id="main-nav">
                <a id="main-nav-toggle" class="nav-icon"></a>
                
                    <a class="main-nav-link" href="/"><i class="fa fa-home"
                                                                                      aria-hidden="true"></i>首页
                    </a>
                
                    <a class="main-nav-link" href="/archives"><i class="fa fa-archive"
                                                                                      aria-hidden="true"></i>归档
                    </a>
                
                    <a class="main-nav-link" href="/about.html"><i class="fa fa-user"
                                                                                      aria-hidden="true"></i>关于我
                    </a>
                
            </nav>
            <nav id="sub-nav">
                
                    <a class="nav-icon" href="/atom.xml" title="RSS Feed"><i class="fa fa-rss"
                                                                                     aria-hidden="true"></i></a>
                
                <a id="nav-search-btn" class="nav-icon popup-trigger" title="Search"><i class="fa fa-search"
                                                                                        aria-hidden="true"></i></a>
            </nav>
            <div id="local-search-input"></div>
        </div>
    </div>
</header>

    <div class="outer">
      <section id="main">
    
        <article   id="post-Tomcat安装启动Ubuntu" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/ff0c99d9/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-11-04T16:35:00.000Z" itemprop="datePublished">2015-11-05</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Tomcat/">Tomcat</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/ff0c99d9/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Tomcat 安装启动(Ubuntu)</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        首先下载ubuntu 的tar包
官网：
http://tomcat.apache.org/download-80.cgi

安装启动
 * 下载对应的tar
   
   
   
 * 解压任意文件夹下，更改名字tomcat8(这里因为是tomcat8 ,文件夹名字可以随便起）
   例如：
   sudo tar -zxvf /home/macsq/Desktop/apache-tomcat-8.0.28.tar.gz -C /usr/lib/
   
   
 * 更改文件夹名字
   mv apache-tomcat-8.0.28 tomcat8
   
   

 * 编辑bin目录下的catalina.sh
   添加JDK的环境变量
   JAVA_HOME=/usr/lib/java/jdk1.8.0_65/
   JRE_HOME=${JAVA_HOME}/jre
   
   
   
 * 之后启动tomcat bin 目录下的startup,.sh 启动服务，shutdown.sh 关闭服务
   
   sudo sh startup.sh
   sudo 
        
          <p class="article-more-link ">
            <a href="/2015/ff0c99d9/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/ff0c99d9/" data-id="cknflsi6h0059bz2z3rwdh3do" class="article-share-link" data-share="baidu" data-title="Tomcat 安装启动(Ubuntu)">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/tomcat/" rel="tag">tomcat</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Python-pip-安装时出现UnicodeEncodeError-ascii-codec-can-t-encode-characters-in-position" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/40a1dcba/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-09-23T01:56:00.000Z" itemprop="datePublished">2015-09-23</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Python/">Python</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/40a1dcba/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Python pip 安装时出现Error</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        在Python 环境下，使用PiP 命令安装时，报错提示：
UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 1-5: ordinal not in range(128)

 1. 找到路径\Lib\site-packages
    
    
 2. 路径下新建文件 sitecustomize.py ,文件内容为：
    
    import sys
    reload(sys)
    sys.setdefaultencoding('utf-8')
    
    
    
 3. 之后再使用pip 安装的时候，就解决问题了
    
    

PS:- 在Python文件的有中文时： 一般会在文件的开头加上 #-- codeing:utf-8 --
默认设置文件的编码方式为 utf-8 

 * 在文件中加入import sys
   reload(sys)
   sys.setdefaultencoding('utf-8')
   
   
   设置在这个python 文件
        
          <p class="article-more-link ">
            <a href="/2015/40a1dcba/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/40a1dcba/" data-id="cknflsi5n0047bz2zal0m5su8" class="article-share-link" data-share="baidu" data-title="Python pip 安装时出现Error">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/python/" rel="tag">python</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Mysql-Windows安装-zip" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/ce0e3175/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-09-22T08:28:00.000Z" itemprop="datePublished">2015-09-22</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Mysql/">Mysql</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/ce0e3175/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Mysql-Windows安装(zip)</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        1. Mysql Windows zip包安装
    Mysql 下载地址：

 http://dev.mysql.com/downloads/mysql/ 

 2. 下载windows 版本对应的zip,之后解压
    
    
 3.  在C:\Program Files 下新建一个MySQL文件夹
    
    

 

 4. 把 zip 解压后的文件夹换个简短的名字，然后全部复制到刚刚新建的MySQL 内即可（例如文件夹名字 MySQLServer）

 

 5. 修改配置文件
    在刚刚我们复制过的 MySQLServer 文件夹内，可以看到my-default.ini 配置文件，打开编辑,在如下两行上填写对应的路径即可
    （basedir: 新建的MySQLServer的根目录）
    （datadir: MySQLServer目录下的data文件夹的路径）

 

 

 basedir = C:\Program Files\MySQL\MySQLServer

  datadir = C:\Program Files\MySQL\MySQLS
        
          <p class="article-more-link ">
            <a href="/2015/ce0e3175/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/ce0e3175/" data-id="cknflsi5c003qbz2z5yi47ajq" class="article-share-link" data-share="baidu" data-title="Mysql-Windows安装(zip)">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/mysql/" rel="tag">mysql</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Python  获取时间戳" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/c4f3ec6f/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-09-16T09:47:00.000Z" itemprop="datePublished">2015-09-16</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Python/">Python</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/c4f3ec6f/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Python 获取时间戳</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        Python 获取时间通过 time 模块



如下代码，是通过获取当前的时间，按照格式输出
Python默认获取当前的时间返回的都是时间的元组,下面是元组的，字符串时间的一个转换输出

# -*- coding:utf-8 -*-
import time
#Python 获取时间戳
#Python 默认获取的时间是一个具有时间的元组，asctime()  是接受时间元祖，返回一个时间字符串



TimeTuple=time.localtime(time.time())   #获取当前的时间返回一个时间元组
print '获取当前的时间戳(元组)：',TimeTuple
fmt='%Y-%m-%d %a %H:%M:%S'		#格式化时间
test=time.strftime(fmt,TimeTuple)		#把传入的元组按照格式，输出字符串
print '获取当前的时间(字符串)：',test


TimeStr = time.asctime(time.localtime(time.time()))		#根据获取的元组输出一个时间字符串
print '当前时间为(字符串)：',T
        
          <p class="article-more-link ">
            <a href="/2015/c4f3ec6f/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/c4f3ec6f/" data-id="cknflsi5g003xbz2za3cy3mps" class="article-share-link" data-share="baidu" data-title="Python 获取时间戳">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/python/" rel="tag">python</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Mac 安装配置启动Tomcat" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/10500753/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-09-08T11:06:00.000Z" itemprop="datePublished">2015-09-08</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Tomcat/">Tomcat</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/10500753/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Mac 安装配置启动Tomcat</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        Tomcat Mac 下的安装：

TomCat 下载地址，例如：
http://tomcat.apache.org/download-70.cgi

下载TomCat
在Mac 上下载的时候，下载tar.gz包


解压下载的包如图所示
下载完成后，直接解压如图所示：


操作解压文件夹
把解压后的文件夹命名为Tomcat,并且放到相应的路径下：
（放在如下两个位置都一样）

把Tomcat文件夹放到/Library/下  

/Library/Tomcat/bin

添加权限

sudo chmod +x /Library/Tomcat/bin/*.sh

添加环境变量

export PATH=$PATH:/Library/Tomcat/bin





*把文件放在/usr/local/

/usr/local/Tomcat/bin

*添加权限

sudo chmod +x /usr/local/Tomcat/bin/*.sh

*添加环境变量

export PATH=$PATH:/usr/local/Tomcat/bin


之后在命令行输入bin目录下的 sh 文件即可
        
          <p class="article-more-link ">
            <a href="/2015/10500753/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/10500753/" data-id="cknflsi57003cbz2z6wvmgw80" class="article-share-link" data-share="baidu" data-title="Mac 安装配置启动Tomcat">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/tomcat/" rel="tag">tomcat</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Appium-命令行安装启动" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/dd3c817c/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-08-31T09:43:00.000Z" itemprop="datePublished">2015-08-31</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Appium/">Appium</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/dd3c817c/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Appium 命令行安装启动</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        Appium 安装过后，会有图形界面，同样也支持命令行参数的启动和配置

Windws
在windows 安装配置Appium有三种方式： 

 * Node install -g appium 
 * .exe文件安装 
 * 绿色解压安装（appium_1.3.4 之前版本）

 1. Node 安装
    Appium 本来就是使用Node js编写的，算是Node js的一个模块，如果使用的是Node命令直接安装
    安装成功之后可以在命令直接输入 appium ,就可以看到appium启动了
    

 2. .exe文件安装
    使用exe 程序安装，可以在安装路径下找到例如：
    C:\Program Files (x86)\Appium\node_modules.bin
    
    把这个路径添加到系统变量即可 
 3. 绿色解压安装（appium_1.3.4 之前版本）
    同样在路径下找到：
    D:\Tools\AppiumForWindows-1.3.4.1\Appium\node_modules.bin
    之后把这个路径添加
        
          <p class="article-more-link ">
            <a href="/2015/dd3c817c/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/dd3c817c/" data-id="cknflsi2y000bbz2zb5i784wn" class="article-share-link" data-share="baidu" data-title="Appium 命令行安装启动">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/appium/" rel="tag">appium</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Selenium-出现-Caused-by-java-lang-ClassNotFoundException-org-w3c-dom-ElementTraversal" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/c0bbf196/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-08-27T08:12:00.000Z" itemprop="datePublished">2015-08-27</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/SeleniumWebDriver/">SeleniumWebDriver</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/c0bbf196/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Selenium 出现ClassNotFoundException</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        webDriver 运行的时候出现：
Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal

解决办法： 只需要maven pom.xml 添加依赖就行了<dependency>
	<groupId>xml-apis</groupId>
	<artifactId>xml-apis</artifactId>
	<version>1.4.01</version>
</dependency>


参考： http://mvnrepository.com/artifact/xml-apis/xml-apis/1.4.01作者：卡尔西 
本文地址： [https://blog.hiphopcoder.com/2015/c0bbf196/](https://blog.hiphopcoder.com/2015/c0bbf196/) 
如果本文对你有帮助，欢迎微信,QQ联系,复制转载请注明作者和原文链接，谢谢!
但管努力，莫问前程，事在人为，功不唐捐 ~
        
          <p class="article-more-link ">
            <a href="/2015/c0bbf196/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/c0bbf196/" data-id="cknflsi68004xbz2z0j5z9ui2" class="article-share-link" data-share="baidu" data-title="Selenium 出现ClassNotFoundException">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/seleniumwebdriver/" rel="tag">seleniumwebdriver</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Appium的安装启动" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/9e047a75/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-08-18T01:31:00.000Z" itemprop="datePublished">2015-08-18</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Appium/">Appium</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/9e047a75/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Appium 的安装启动</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        Appium 的安装方式根据官网提供的是使用nodejs 安装，但是官方给出了三种方法

参考网址：
appium下载地址：

https://bitbucket.org/appium/appium.app/downloads

appium GitHub:

https://github.com/appium/appium

npm 安装

 安装node ,之后在命令行输入node -v 查看node 的版本
执行下面的命令 开始安装
npm install -g appium 

安装过程记得翻墙下载，下载中可能会出现安装失败，
清理下缓存重来多试几次即可
npm cache clear
npm install -g appium 

安装成功之后在命令行输入appium 即可启动appiumserver
(这种是命令行模式的，启动的Appium server 也是命令行模式的)

Appium exe 安装(Windows) && Appium dmg 安装（Mac）

 Windows:
官方给的zip,解压后，里面直接有个appium-installer.exe 文件，直接
        
          <p class="article-more-link ">
            <a href="/2015/9e047a75/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/9e047a75/" data-id="cknflsi33000ibz2z03psazk4" class="article-share-link" data-share="baidu" data-title="Appium 的安装启动">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/appium/" rel="tag">appium</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Robotframework  ride  版本兼容问题" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/e0336c5b/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-07-30T07:04:00.000Z" itemprop="datePublished">2015-07-30</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/RobotFramework-Test/">RobotFramework_Test</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/e0336c5b/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Robotframework ride 版本兼容问题</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        在安装robotFramework ride的时候，必须需要使用wxpython
目前使用的wxpython 还必须是unicode 版本的要不然不支持中文

目前使用的
wx.version.2.8.12.1 unicode
ride verion 1.4
安装完成后，发现找不到wx,后来发现是版本兼容问题，果断把ride换成老版本，运行ok

Ps：
robotframework 版本兼容问题比较严重，
如果出现模块找不到了，或者提示错误：

 1. 检查模块是否安装
 2. 查看版本是否太新
 3. 检查是否缺少依赖的组件

如果没有什么特殊情况尽量不要使用最新版组件去安装

作者：卡尔西 
本文地址： [https://blog.hiphopcoder.com/2015/e0336c5b/](https://blog.hiphopcoder.com/2015/e0336c5b/) 
如果本文对你有帮助，欢迎微信,QQ联系,复制转载请注明作者和原文链接，谢谢!
但管努力，莫问前程，事在人为，功不唐捐 ~
        
          <p class="article-more-link ">
            <a href="/2015/e0336c5b/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/e0336c5b/" data-id="cknflsi66004rbz2z5wf4e750" class="article-share-link" data-share="baidu" data-title="Robotframework ride 版本兼容问题">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/robotframework/" rel="tag">robotframework</a></li></ul>


    </footer>
  </div>
  
</article>







    
        <article   id="post-Python-Mac系统下的路径总结" class="article article-type-post" itemscope itemprop="blogPost">
  <div data-scroll-reveal="enter top and over 0.7s"  class="article-meta">
    <a  href="/2015/e6812c80/" class="article-date">
  <i class="fa fa-calendar"></i>
  <time  datetime="2015-07-30T06:52:00.000Z" itemprop="datePublished">2015-07-30</time>
</a>

    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Python/">Python</a>
  </div>


  </div>
  <div class="article-inner"  >
    
    

      <header class="article-header">

        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/e6812c80/">
        <i class="fa fa-pencil-square-o  article-title-icon"></i>Python Mac系统下的路径总结</a>
    </h1>
  



      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        Mac 下Python 可以多版本的并存，并且Python的目录也有好几个，不过总体来说，Mac 自带的有python 还是比较方便的

Mac 系统自带的又Python ,可能Python版本需要更新，所以目录结构要了解下

 1. 系统自带的Python的路径
    
     * 在mac 系统自带的程序都会在library下查看
       前往文件夹 /Lib (资源库)
       系统自带的Python 路径为：
       /Library/Frameworks/Python.framework/Versions/2.7
       
       
       
     * 当前的版本是2.7.6目录结构和Windows相似这里说下bin,lib
       
       bin目录，就相当于主程序的目录
       
       
       
       lib目录，就是python程序模块的目录
       
       
       
       
    
    
 2. 系统自带python的安装模块包路径
    
 
        
          <p class="article-more-link ">
            <a href="/2015/e6812c80/#more"><i class="fa fa-coffee" style="padding-right: 2px"></i>Read More</a>
          </p>
        
      
    </div>


    <footer class="article-footer">
      
        <a data-url="https://blog.hiphopcoder.com/2015/e6812c80/" data-id="cknflsi5j0043bz2z7xud3xr0" class="article-share-link" data-share="baidu" data-title="Python Mac系统下的路径总结">分享到</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/python/" rel="tag">python</a></li></ul>


    </footer>
  </div>
  
</article>







    
    
        <nav id="page-nav">
            <a class="extend prev" rel="prev" href="/page/3/">&lt;</a><a class="page-number" href="/">1</a><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="page-number current">4</span><a class="page-number" href="/page/5/">5</a><a class="page-number" href="/page/6/">6</a><a class="extend next" rel="next" href="/page/5/">&gt;</a>
        </nav>
    

</section>
      
      <aside   id="sidebar">
  
    
  <div class="widget-wrap">

    <h3 class="widget-title" data-scroll-reveal="enter top and over 0.7s"><i class="fa fa-file-text-o"></i>近期文章</h3>
    <div class="widget">
      <ul>
        
          <li onclick="javascript:document.getElementById('recentpost_item').click();">
            <a id="recentpost_item" href="/2017/3bc10084/">Vim-实用技巧</a>
          </li>
        
          <li onclick="javascript:document.getElementById('recentpost_item').click();">
            <a id="recentpost_item" href="/2017/e50021a2/">Shadowsocks-安装及使用配置</a>
          </li>
        
          <li onclick="javascript:document.getElementById('recentpost_item').click();">
            <a id="recentpost_item" href="/2017/ea3064bf/">Docker安装启动(Centos7)</a>
          </li>
        
          <li onclick="javascript:document.getElementById('recentpost_item').click();">
            <a id="recentpost_item" href="/2017/445f28e5/">Linux-免密码远程登录配置</a>
          </li>
        
          <li onclick="javascript:document.getElementById('recentpost_item').click();">
            <a id="recentpost_item" href="/2017/343cbc01/">Linux-tar命令说明</a>
          </li>
        
      </ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title" data-scroll-reveal="enter top and over 0.7s" ><i class="fa fa-tasks"></i>分类</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Android/">Android</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Appium/">Appium</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Docker/">Docker</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Git/">Git</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/JAVA/">JAVA</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Jenkins/">Jenkins</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Jquery/">Jquery</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Linux/">Linux</a><span class="category-list-count">10</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Mac/">Mac</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Mysql/">Mysql</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Python/">Python</a><span class="category-list-count">8</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/RobotFramework-Test/">RobotFramework_Test</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/SeleniumWebDriver/">SeleniumWebDriver</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/TestNg/">TestNg</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Tomcat/">Tomcat</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Vim/">Vim</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E7%BD%91%E7%BB%9C/">网络</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5%8B%E8%AF%95-IOS/">自动化测试_IOS</a><span class="category-list-count">2</span></li></ul>
    </div>
  </div>


  <script>
  $(document).on("click", "ul.category-list li.category-list-item", function () {
    window.location.href = $(this).find('a').attr('href')
  })
  </script>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title" data-scroll-reveal="enter top and over 0.7s" ><i class="fa fa-cloud"></i>标签云</h3>
    <div class="widget tagcloud">
      <a href="/tags/android/" style="font-size: 16.67px;">android</a> <a href="/tags/appium/" style="font-size: 13.33px;">appium</a> <a href="/tags/ci/" style="font-size: 10px;">ci</a> <a href="/tags/docker/" style="font-size: 11.67px;">docker</a> <a href="/tags/git/" style="font-size: 11.67px;">git</a> <a href="/tags/ios/" style="font-size: 11.67px;">ios</a> <a href="/tags/java/" style="font-size: 15px;">java</a> <a href="/tags/linux/" style="font-size: 20px;">linux</a> <a href="/tags/mac/" style="font-size: 10px;">mac</a> <a href="/tags/mysql/" style="font-size: 15px;">mysql</a> <a href="/tags/python/" style="font-size: 18.33px;">python</a> <a href="/tags/robotframework/" style="font-size: 13.33px;">robotframework</a> <a href="/tags/seleniumwebdriver/" style="font-size: 11.67px;">seleniumwebdriver</a> <a href="/tags/shadowsocks/" style="font-size: 10px;">shadowsocks</a> <a href="/tags/testng/" style="font-size: 10px;">testng</a> <a href="/tags/tomcat/" style="font-size: 13.33px;">tomcat</a> <a href="/tags/tools/" style="font-size: 11.67px;">tools</a> <a href="/tags/%E5%89%8D%E7%AB%AF/" style="font-size: 10px;">前端</a>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title" data-scroll-reveal="enter top and over 0.7s" ><i class="fa fa-archive"></i>归档</h3>
    <div class="widget">
      <!-- <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/">八月 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">四月 2017</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">三月 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">二月 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/12/">十二月 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/11/">十一月 2016</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/09/">九月 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/07/">七月 2016</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/06/">六月 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/05/">五月 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/04/">四月 2016</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/03/">三月 2016</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/02/">二月 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/12/">十二月 2015</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/11/">十一月 2015</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/09/">九月 2015</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/08/">八月 2015</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/07/">七月 2015</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/06/">六月 2015</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/04/">四月 2015</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/03/">三月 2015</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/01/">一月 2015</a><span class="archive-list-count">1</span></li></ul> -->
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/">2017年08月</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">2017年04月</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">2017年03月</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">2017年02月</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/12/">2016年12月</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/11/">2016年11月</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/09/">2016年09月</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/07/">2016年07月</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/06/">2016年06月</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/05/">2016年05月</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/04/">2016年04月</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/03/">2016年03月</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/02/">2016年02月</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/12/">2015年12月</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/11/">2015年11月</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/09/">2015年09月</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/08/">2015年08月</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/07/">2015年07月</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/06/">2015年06月</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/04/">2015年04月</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/03/">2015年03月</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/01/">2015年01月</a><span class="archive-list-count">1</span></li></ul>
    </div>
  </div>


<script>
$(document).on("click", "ul.archive-list li.archive-list-item", function () {
  window.location.href = $(this).find('a').attr('href')
})
</script>

  
    
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .tooltips {
            border-width: 1px;
            border-style: solid;
            position: absolute;
            display: none;
            border-radius: 3px;
            opacity: 0;
            filter: alpha(opacity=0);
            z-index: 999;
        }

        .tooltips p.content {
            padding: 5px;
        }

        .tooltips .triangle-front, .tooltips .triangle-back {
            width: 0;
            height: 0;
            overflow: hidden;
            border-width: 8px;
            border-style: solid;
            position: absolute;
            border-color: transparent;
            top: 100%;
            left: 50%;
            margin-left: -8px;
        }

        .tooltips .triangle-back {
            margin-top: -1px;
        }

        .toolTipInfo {
            border-color: #000;
            background-color: #EEEEEE;
        }

        .toolTipInfo .triangle-front {
            border-top-color: #EEEEEE;
        }

        .toolTipInfo .triangle-back {
            border-top-color: #EEEEEE;
        }


        .icoSize {
            font-size: 2em
        }
    </style>

    <div class="widget-wrap">
        <h3 class="widget-title" data-scroll-reveal="enter top and over 0.7s"><i
                    class="fa fa-link"></i>链接</h3>
        <div class="widget" style="z-index: 1;">

            <!-- <ul> -->
            
                <!-- <li> -->
                

                
                    <a id="github-alt-icon-color" class="weight-icon-link" target="_blank"
                       href="https://github.com/hiphopcoders">
                      <span class="fa-stack fa-lg">
                          <i class="fa fa-circle fa-stack-2x"></i>
                          <i class="fa fa-github-alt fa-stack-1x fa-inverse"></i>
                      </span>
                    </a>
                

                

                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                
                    <a id="zhihu-icon-color" class="weight-icon-link" target="_blank"
                       href="https://www.zhihu.com/people/HipHopCoder">
                      <span class="fa-stack fa-lg">
                          <i class="fa fa-circle fa-stack-2x"></i>
                          <i class="fa  fa-stack-1x fa-inverse">知</i>
                      </span>
                    </a>
                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                
                    <a id="weixin-icon-color" class="weight-icon-link" href="javascript:;" id="weixin-icon"
                       target="_blank"
                    
                       tooltips="<img src='/img/weixin.png'>"
                            
                    >
                <span class="fa-stack fa-lg">
                      <i class="fa fa-circle fa-stack-2x"></i>
                      <i class="fa fa-weixin  fa-stack-1x fa-inverse"></i>
                  </span>
                    </a>
                

                

                

                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                
                    <a id="qq-icon-color" class="weight-icon-link" href="javascript:;" id="qq-icon"
                       target="_blank"
                    
                       tooltips="<img src='/img/qq.png'>"
                            
                    >
                <span class="fa-stack fa-lg">
                      <i class="fa fa-circle fa-stack-2x"></i>
                      <i class="fa fa-qq  fa-stack-1x fa-inverse"></i>
                  </span>
                    </a>
                

                

                

                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                
                    <a id="weibo-icon-color" class="weight-icon-link" target="_blank"
                       href="http://weibo.com/p/1005051632283810/home">
                      <span class="fa-stack fa-lg">
                          <i class="fa fa-circle fa-stack-2x"></i>
                          <i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
                      </span>
                    </a>
                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                

                
                    <a id="csdn-icon-color" class="weight-icon-link" target="_blank"
                       href="http://blog.csdn.net/a542551042" data-toggle="tooltip" data-placement="top"
                       title="CSDN博客">
                      <span class="fa-stack fa-lg">
                          <i class="fa fa-circle fa-stack-2x"></i>
                          <i class="fa fa fa-stack-1x fa-inverse">C</i>
                      </span>
                    </a>
                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                

                

                
                    <a id="qqmusic-icon-color" class="weight-icon-link" target="_blank"
                       href="https://y.qq.com/n/yqq/playlist/1432659833.html#stat=y_new.profile.create_playlist.love.click&amp;dirid=201" data-toggle="tooltip" data-placement="top"
                       title="QQ音乐">
                   <span class="fa-stack fa-lg">
                       <i class="fa fa-circle fa-stack-2x"></i>
                       <i class=" fa fa-stack-1x fa-inverse">
                           <svg t="1617944199483" class="icon" viewBox="0 0 1025 1024" version="1.1"
                                xmlns="http://www.w3.org/2000/svg" p-id="1421" width="33" height="37">
                               <path
                                       d="M577.6 9.6C555.2 6.4 534.4 6.4 512 6.4 230.4 6.4 0 233.6 0 512s230.4 505.6 512 505.6 512-227.2 512-505.6c0-217.6-136-400-332.8-475.2 0 33.6-3.2 43.2-12.8 65.6-30.4 56-86.4 92.8-158.4 96-25.6 3.2-43.2 6.4-43.2 6.4 0 3.2 96 171.2 201.6 353.6 68.8 118.4 75.2 136 72 185.6-6.4 92.8-80 171.2-179.2 201.6-22.4 6.4-43.2 9.6-80 6.4-46.4-3.2-56-3.2-89.6-22.4-46.4-25.6-80-59.2-99.2-102.4-16-40-12.8-99.2 9.6-142.4 19.2-36.8 65.6-83.2 105.6-105.6 56-27.2 129.6-40 174.4-27.2 12.8 3.2 22.4 6.4 22.4 3.2 0 0-9.6-16-22.4-33.6-12.8-19.2-75.2-105.6-136-192-62.4-89.6-115.2-161.6-118.4-168-9.6-9.6 9.6-46.4 32-65.6 12.8-12.8 30.4-25.6 46.4-30.4 27.2-16 46.4-22.4 139.2-43.2 6.4-6.4 16-9.6 22.4-12.8z"
                                       fill="#f4ea2a" p-id="1422"></path>
                           </svg>
                       </i>
                   </span>
                    </a>
                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                

                

                

                
                    <a id="neteasemusic-icon-color" class="weight-icon-link" target="_blank"
                       href="https://music.163.com/#/user/home?id=91785403" data-toggle="tooltip" data-placement="top"
                       title="网易云音乐">
                   <span class="fa-stack fa-lg">
                       <i class="fa fa-circle fa-stack-2x"></i>
                       <i class=" fa fa-stack-1x fa-inverse">
                            <svg t="1617983919037" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3520" width="37" height="37"><path d="M512 938.666667C276.352 938.666667 85.333333 747.648 85.333333 512S276.352 85.333333 512 85.333333s426.666667 191.018667 426.666667 426.666667-191.018667 426.666667-426.666667 426.666667z m-46.336-445.098667c10.24-35.84 45.866667-65.749333 84.906667-70.314667 7.978667 29.610667 16.554667 58.581333 23.253333 88.021334 2.261333 9.813333 1.578667 21.12-0.768 31.018666-9.088 38.058667-53.248 52.992-84.394667 29.226667-22.613333-17.28-31.658667-47.786667-22.997333-77.952z m162.858667-8.405333c-5.333333-19.84-10.922667-39.552-16.768-60.586667 21.333333 5.546667 38.741333 15.36 53.546666 29.781333 53.632 52.096 59.093333 140.8 12.544 201.856-48.426667 63.573333-134.613333 91.050667-214.528 68.48-98.218667-27.733333-162.474667-125.952-146.816-226.816 11.690667-75.434667 54.186667-128.170667 123.733334-159.274666 17.365333-7.765333 24.746667-23.893333 17.92-39.68-6.698667-15.530667-23.04-21.504-40.277334-14.634667-116.096 46.464-184.32 176.384-156.586666 298.112 30.421333 133.034667 149.12 220.288 284.8 207.317333 73.898667-7.04 134.997333-40.448 179.882666-100.138666 64.256-85.418667 55.338667-204.074667-19.754666-277.290667-28.416-27.733333-62.762667-43.434667-101.973334-49.194667-3.541333-0.554667-9.258667-2.218667-9.898666-4.522666-3.712-13.354667-7.68-26.965333-8.789334-40.704-1.237333-15.232 12.373333-27.306667 27.733334-27.52 10.794667-0.128 18.517333 5.546667 25.728 12.8 12.928 12.8 30.037333 13.738667 42.154666 2.645333 12.373333-11.264 12.629333-28.928 0.768-43.008-24.149333-28.672-67.669333-38.016-103.68-22.314667-36.138667 15.786667-56.362667 50.645333-51.2 89.301334 1.621333 11.946667 4.693333 23.765333 7.125334 35.925333l-11.093334 3.072a164.821333 164.821333 0 0 0-89.514666 60.330667c-39.296 52.053333-39.936 120.661333-1.749334 168.405333 54.357333 68.010667 159.872 54.784 192.981334-24.234667 12.117333-28.842667 11.733333-58.368 3.712-88.106666z" p-id="3521" fill="#d81e06"></path></svg>
                       </i>
                   </span>
                    </a>
                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                
                    <a id="envelope-o-icon-color" class="weight-icon-link" target="_blank" href="mailto:hiphopcoder@163.com"
                       data-toggle="tooltip" data-placement="top" title="请多多交流！">
                  <span class="fa-stack fa-lg">
                          <i class="fa fa-circle fa-stack-2x"></i>
                          <i class="fa fa-envelope-o  fa-stack-1x fa-inverse"></i>
                      </span>
                    </a>
                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
                <!-- <li> -->
                

                

                

                

                

                

                

                


                

                

                

                

                <!-- </li> -->
            
            <!-- </ul> -->
        </div>
    </div>

    <script>
        $.fn.extend({
            hoverTips: function () {
                var self = $(this);
                var sw = self.get(0).switch;
                if (!sw) {
                    sw = true;
                    var content = self.attr("tooltips");
                    var htmlDom = $("<div class='tooltips'>")
                        .addClass("toolTipInfo")
                        .html("<p class='content'></p>"
                            + "<p class='triangle-front'></p>"
                            + "<p class='triangle-back'></p>");
                    htmlDom.find("p.content").html(content);
                }
                self.on("mouseover", function () {
                    $("body").append(htmlDom);
                    var left = self.offset().left - htmlDom.outerWidth() / 2 + self.outerWidth() / 2;
                    var top = self.offset().top - htmlDom.outerHeight() - parseInt(htmlDom.find(".triangle-front").css("border-width"));
                    htmlDom.css({"left": left, "top": top - 10, "display": "block"});
                    htmlDom.stop().animate({"top": top, "opacity": 1}, 300);
                });
                self.on("mouseout", function () {
                    var top = parseInt(htmlDom.css("top"));
                    htmlDom.stop().animate({"top": top - 10, "opacity": 0}, 300, function () {
                        htmlDom.remove();
                        sw = false;
                    });
                });
            },

        });

        $("#weixin-icon-color").hoverTips();
        $("#qq-icon-color").hoverTips();
    </script>



  
    
    <div class="widget-wrap">
  
      <h3 class="widget-title" data-scroll-reveal="enter top and over 0.7s"><i class="fa fa-group"></i>友链</h3>
      <div class="widget">
        <ul>
        
            <li onclick="javascript:document.getElementById('friend_links_item').click();">
              <a id="friend_links_item" target="_blank" rel="noopener" href="https://jianmou.github.io"><i class="fa  fa-arrow-circle-right" style="margin-right:7px"></i>简眸</a>
            </li>

        
        </ul>
      </div>
    </div>
  
  
  
</aside>

      
    </div>
    
    <footer id="footer" style="background: url('/img/footer.jpg') center #000">
        
        
        <div data-scroll-reveal="enter bottom" class="outer">
            <div id="footer-info" class="inner">
                &copy; 2021 卡尔西<br>
                Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
                .
                Theme by <a href="https://github.com/HipHopCoderS/Landscape-x" target="_blank">Landscape-x</a>
            </div>

            <div id="footer-info" class="inner">
                <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
                <span id="busuanzi_container_site_pv"> 访问量
      <font color="#FF3030"><i class="fa fa-heartbeat"></i></font>
      <span id="busuanzi_value_site_pv"></span>次</span>

                <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
                    document.write(unescape("%3Cspan id='cnzz_stat_icon_1257415698'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1257415698%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>

            </div>
        </div>

    </footer>

  </div>
  <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link"><i class="fa fa-home" aria-hidden="true"></i>首页</a>
  
    <a href="/archives" class="mobile-nav-link"><i class="fa fa-archive" aria-hidden="true"></i>归档</a>
  
    <a href="/about.html" class="mobile-nav-link"><i class="fa fa-user" aria-hidden="true"></i>关于我</a>
  
</nav>

  <!-- totop start -->
<div id="totop">
<a title="返回顶部"><img src="/img/betop.png"/></a>
</div>

<!-- totop end -->

<!-- 百度分享 start -->

<div id="article-share-box" class="article-share-box">
  <div id="bdshare" class="bdsharebuttonbox article-share-links">
    <a class="article-share-weibo" data-cmd="tsina" title="分享到新浪微博"></a>
    <a class="article-share-weixin" data-cmd="weixin" title="分享到微信"></a>
    <a class="article-share-qq" data-cmd="sqq" title="分享到QQ"></a>
    <a class="article-share-renren" data-cmd="renren" title="分享到人人网"></a>
    <a class="article-share-more" data-cmd="more" title="更多"></a>
  </div>
</div>
<script>
  function SetShareData(cmd, config) {
    if (shareDataTitle && shareDataUrl) {
      config.bdText = shareDataTitle;
      config.bdUrl = shareDataUrl;
    }
    return config;
  }
  window._bd_share_config={
    "common":{onBeforeClick: SetShareData},
    "share":{"bdCustomStyle":"/css/bdshare.css"}
  };
  with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
</script>

<!-- 百度分享 end -->

<!-- <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> -->
<script src="//cdn.bootcss.com/jquery/3.0.0-beta1/jquery.min.js"></script>



  
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css">

  
<script src="/fancybox/jquery.fancybox.pack.js"></script>




<! -- mathjax config similar to math.stackexchange -->

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
          inlineMath: [ ['$','$'], ["\\(","\\)"]  ],
                processEscapes: true
                    
}
  
        });
</script>

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
            skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
                  
}
    
        });
</script>

<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
            var all = MathJax.Hub.getAllJax(), i;
            for(i=0; i < all.length; i += 1) {
                            all[i].SourceElement().parentNode.className += ' has-jax';
                                    
            }
                
        });
</script>

<script type="text/javascript" src="https://cdn.bootcss.com/mathjax/2.5.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>



<script src="/js/script.js"></script>



</div>
</body>
</html>



<div class="site-search">
  <div class="algolia-popup popup">
    <div class="algolia-search">
      <div class="algolia-search-input-icon">
        <i class="fa fa-search"></i>
      </div>
      <div class="algolia-search-input" id="algolia-search-input"></div>
    </div>
    <div class="algolia-results">
      <div id="algolia-stats"></div>
      <div id="algolia-hits"></div>
      <div id="algolia-pagination" class="algolia-pagination"></div>
    </div>
    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
  </div>
</div>


<script>
$(document).ready(function(){
window.scrollReveal = new scrollReveal({ reset: true});
//
})
</script>
